int drawjpg(void* in, int len, int canvasW, int canvasH, void* canvas);
